/**
 * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tmq.diancan.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 订单表实体类
 *
 * @author tangmqb
 * @since 2020-03-21
 */
@Data
@TableName("diancan_order_master")
@ApiModel(value = "DiancanOrderMaster对象", description = "订单表")
public class DiancanOrderMaster implements Serializable {

    private static final long serialVersionUID = 1L;

  private String orderId;
    /**
     * 买家名字
     */
    @ApiModelProperty(value = "买家名字")
    private String buyerName;
    /**
     * 买家电话
     */
    @ApiModelProperty(value = "买家电话")
    private String buyerPhone;
    /**
     * 买家桌号
     */
    @ApiModelProperty(value = "买家桌号")
    private String buyerAddress;
    /**
     * 买家微信openid
     */
    @ApiModelProperty(value = "买家微信openid")
    private String buyerOpenid;
    /**
     * 订单总金额
     */
    @ApiModelProperty(value = "订单总金额")
    private BigDecimal orderAmount;
    /**
     * 订单状态, 默认为新下单
     */
    @ApiModelProperty(value = "订单状态, 默认为新下单")
    private Integer orderStatus;
    /**
     * 支付状态, 默认未支付
     */
    @ApiModelProperty(value = "支付状态, 默认未支付")
    private Integer payStatus;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;


}
